package com.myspring.entity;

import com.myspring.annotation.Autowired;
import com.myspring.annotation.Component;
import com.myspring.annotation.Qualifier;
import com.myspring.annotation.Value;
import lombok.Data;

/**
 * description:
 * author:zt
 * date:2021-09-06
 */
@Component
@Data
public class Account {
    @Value("1")
    private Integer id;
    @Value("fmm")
    private String name;
    @Autowired
    @Qualifier("myOrder")
    private Order order;
    @Autowired
    private Person person;
}
